Custom reports are created using the Custom Report writer, which provides a user-friendly interface for building reports without programming knowledge.
When you create a new custom report, you'll base it on one of the report template designs. This saves time, since you only need to focus on the content of the custom report--and not the technical make-up of the report.
The Report Templates file (named TEMPLATE.REP in Windows) contains basic layouts for six different custom reports: List w/1 sub-total, List w/2 sub-totals, List w/3-sub-totals, Labels (1" x 2 5/6"), Labels (2" x 4"), and Spreadsheet file.
To create a custom report
1 Choose My > Custom Reports.
The Custom Reports window opens.
2 Click the add button to create a new report.
The New Custom Report window opens, asking you to select a template.
3 Choose the template that best fits your needs, then click OK.
The custom report window opens with the template loaded and ready for customization.
New fields can be added to a custom report anytime, as needed. They are added from the Fields/Queries window.
The Add Fields window lists the various files and their fields. You can include all fields in a data file or select only specific fields you need.
To add fields to a report
1 From the custom report window, click on the Fields/Queries button.
2 Choose Add Fields from the Field pop-up menu by right-clicking (if you're using a PC), or pressing the Control key while holding your mouse button down (if you're using a Mac).
The Add Fields window lists the various files and their fields.
3 Click once on the grey arrow to show all available data files. To include all fields in a data file, click the checkbox next to that data file. To only include selected fields, click once on the grey arrow next to the data file, then click the checkboxes next to the fields you wish to add.
4 When you are finished adding fields to your new report click the Add Fields button, then click Close.
The field and a column heading are added to the custom report. Once a field is added, you can sort it with the other fields. Or, you can define a query using the field's value.
Data is selected for printing on custom reports using queries. Queries define how the database is to be searched when the report is printed. These searches are flexible enough to let you find any record in the database relatively quickly. Queries can be modified as needed. Any field on the report can be used as a query.
The way in which you compose the query is important -- and is somewhat technical. Queries can be simple or complex, with several fields and conditions. The query operator determines how the records are found. The standard queries, such as equal to and greater than are simple to use.
To select records with queries
1 From the custom report window, click on the Fields/Queries button.
2 Click on a field to select it.
3 Right-click (on a PC) or hold the control key while clicking (on a Mac) and choose Add To Query from the pop-up menu.
4 Click on the check mark to accept this query.
You can find all jobs for one client by adding the client number (i.e., J_CLIENT_NUM) to the report then adding the query: J_CLIENT_NUM = 'ABC'. When the report is printed, only jobs for client ABC will be listed.
Any field on your custom report can be sorted. Sorts can be simple or complex, depending on the fields on the report. For example, a job list can be sorted by job number by sorting the J_NUM field; a complex, multi-level sort might sort a job list by J_CLIENT_NUM, J_PROD_STATUS, and J_NUM (i.e., client number, production status, job number). Up to nine fields can be sorted on a custom report.
To sort report data
1 From the custom report window, click on the Fields/Queries button.
2 Click on a field to select it.
3 Select the checkbox in the sort column to select the field for sorting. The first field selected for sorting will be sorted first, the second field selected will be sorted second, etc.
You can add a second sort to the report by selecting a field, then choosing Sort Last. A number "2" appears next to the field. Other fields can be sorted as well by selecting a field then choosing Sort Last or Sort First accordingly.
A report's graphic elements, like lines, colors, circles, and fonts, are changed in the Design window. You can add labels, text, lines, borders, boxes, and other graphics to the report using the toolbar at the top of the window.
There are many tools available to help you customize your reports, including text, line, and drawing tools, as well as a custom color picker. You can also customize the typeface for individual sections of a report using the typeface style and size tools.
To design the report layout
1 From the custom report window, click on the modify button.
A what-you-see-is-what-you-get window opens, showing the report's design. Fields are listed by field name within each section. A report is composed of different sections, such as the Record section, Page Heading, and Total section. These sections determine how the data appears on the report.
You can add labels, text, lines, borders, boxes, and other graphics to the report using the toolbar at the top of the window. If you do not see the toolbar immediately, click on the arrow button at the top right of the window to display the toolbar menu.
2 Make your changes.
3 To save your report, use your mouse to right click (or press control and click) and choose Save from the drop-down menu. Name your report, and click Save.
Custom reports can be printed to the window for a quick review, to the printer for a hard copy, or export to disk to be used by spreadsheets or word processors. This makes them perfect for sharing data with other applications.
To export a report
1 From the custom report window, click the Print button.
2 Choose your output option: Print to Window, Print to Printer, or Export to Disk.
3 If exporting to disk, choose the file format (text, CSV, etc.) and location.
4 Click OK to generate the report.
Custom reports can be printed directly to your printer or to the screen for review before printing.
To print a report
1 From the custom report window, click the Print button.
2 Choose Print to Printer for a hard copy, or Print to Window to preview on screen.
3 Adjust any print settings as needed.
4 Click Print to generate the report.
Existing custom reports can be modified to change fields, queries, sorting, or design elements.
To modify an existing report
1 Choose My > Custom Reports.
2 Find and open the report you want to modify.
3 Make your changes using the Fields/Queries button, modify button, or other tools.
4 Save your changes when finished.
Every custom report gets its basic design and layout from a report template. The report template is like a style sheet that determines where fields, sections, headings, and subtotals appear on the page. For consistency, the template designs look like the built-in reports printed from Clients & Profits.
The Report Templates file (named TEMPLATE.REP in Windows) contains basic layouts for six different custom reports: List w/1 sub-total, List w/2 sub-totals, List w/3-sub-totals, Labels (1" x 2 5/6"), Labels (2" x 4"), and Spreadsheet file.
You can change the position of fields and labels on a custom report. However, you can't rearrange the sections; these are part of the report template. The Report Templates file must be stored next to the Clients & Profits application; otherwise, you'll get an error when trying to create a new report.
Sections are used to display fields on custom reports, including Page Heading, Sub-total Heading, Record, Sub-total, and Total sections. Each section serves a specific purpose in organizing and displaying your data.
Page Heading: Fields, labels (the report title, the date and page number), and graphics appear at the top of every printed page.
Sub-total Heading: Fields and labels appear once each time a record is subtotaled.
Record: This is the body of the custom report, and typically contains most of the report's fields. The record section prints one line for every record you've selected.
Sub-total: This section appears whenever records are sub-totaled, after a record section.
Total: The total section appears at the end of the report.
Sections are copied from the template. You can control where they appear on the page by moving them with your mouse.
Custom reports have limitations since they aren't programmable (for example, you can't age accounts automatically before printing a custom client aging report). Custom reports are best suited for showing information that's already available from other built-in reports.
Key Limitations:
• Not programmable - can't perform automatic calculations like aging accounts
• Best suited for data that's already available from built-in reports
• Template sections cannot be rearranged (only field positions can be changed)
• Report Templates file must be stored next to the Clients & Profits application
Best Practices:
• Use custom reports to supplement, not replace, built-in reports
• Focus on showing data from different fields and perspectives
• Take advantage of the flexibility to show/hide fields and control record selection
• Use the design tools to create professional-looking reports